package com.yjdb.sanyuantang.common.entity;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;


@Data
@TableName("sys_role_relation_limit")
@Schema(name = "sys_role_relation_limit")
public class SysRoleRelationLimit implements Serializable {

    /**
    * 角色-权限绑定表id
    */
    @TableId(type = IdType.AUTO)
    @Schema(description="角色-权限绑定表id")
    private Long id;


    /**
    * 角色id
    */
    @TableField("role_id")
    @Schema(description="角色id")
    private Long roleId;


    /**
    * 权限id用逗号隔开
    */
    @TableField("limit_id")
    @Schema(description="权限id用逗号隔开")
    private String limitId;


    private static final long serialVersionUID = 1L;
}
